package com.eudon.user.annotation;

/**
 * @author eudon
 * @description java bean字段注解，包含是否为空，类型校验
 * @date 2025/9/15
 * @email syd19970616@gmail.com
 * @address <a href="https://gitee.com/eudon">Gitee</a>
 */

public @interface FieldCheckInfo {
    boolean nullable() default false;
    FieldType type() default FieldType.UNCHECK;
    long length() default -1;


    enum FieldType {
        STRING,
        INTEGER,
        LONG,
        DOUBLE,
        BOOLEAN,
        DATE,
        UNCHECK
    }
}
